Skip to content

Rename time_taken to time_taken_ms#7649

Merged
SungJin1212 merged 1 commit into
cortexproject:masterfrom
adezxc:feat/rename_time_taken_field
Jun 29, 2026
Merged

Rename time_taken to time_taken_ms#7649
SungJin1212 merged 1 commit into
cortexproject:masterfrom
adezxc:feat/rename_time_taken_field

Conversation

@adezxc

@adezxc adezxc commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What this PR does:
Rename time_taken field to time_taken_ms and make it output millisecond count, so sorting and filtering on the field could be done. This was also merged in the Thanos query-frontend part here: thanos-io/thanos#8831

Let me know if I should instead add a new field without removing the old one.

Checklist

  • Tests updated
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@dosubot dosubot Bot added component/query-frontend go Pull requests that update Go code type/chore Something that needs to be done; not a bug or a feature labels Jun 26, 2026
@adezxc adezxc force-pushed the feat/rename_time_taken_field branch from 752c925 to 4df5cc0 Compare June 26, 2026 08:55
Signed-off-by: Adam Jasinski <adam.jasinski@vinted.com>

@friedrichg friedrichg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.
This is a good improvement

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jun 28, 2026
@SungJin1212 SungJin1212 merged commit a28b77f into cortexproject:master Jun 29, 2026
73 of 75 checks passed
@adezxc adezxc deleted the feat/rename_time_taken_field branch June 29, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/query-frontend go Pull requests that update Go code lgtm This PR has been approved by a maintainer size/S type/chore Something that needs to be done; not a bug or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants